package com.itheima.service;

import com.itheima.mapper.ClassifyMapper;
import com.itheima.pojo.Classification;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 林晓伟
 */
@Service
public class ClassifyService {
    @Resource
    private ClassifyMapper classifyMapper;

    /**
     * F13-分类列表
     */
    public List<Classification> fen(){
        return classifyMapper.fen();
    }

}
